﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <script type="text/javascript" src="../dhtiny.js"></script>
    <script type="text/javascript" src="../ctrl/tbform.js"></script>
    <link rel="Stylesheet" type="text/css" href="../res/css/DHTbForm.css" />
    <meta http-equiv="imagetoolbar" content="no">
<style type="text/css">
.chim {
    border: solid 1px red;
}
tr.chim {
   border: solid 1px blue;
}
</style>    
</head>
<body style="vertical-align:middle;">
<script type="text/javascript">
function Main() {
    drawForm();    
}

function drawForm() {
    var form = $dh.$new("div");
    $dh.construct(form, DHForm,[document.body,{statusTxt: "Status text: --", captionTxt: "DHTbForm Class Demo", themeIndex: 3}])
    $dh.css(form, {bg: "#ceefec"});
    
    form.setBounds(10,10,200,200);
    form.setDrag(form, [{mode:"MOVE"}]);
    form.body.style.cursor = "move";
}

function breakLine() {return (""+Main).replace(/;/gi,"<br>").replace(/<br>/g,";<br/>");}

$dh.addLoader(Main);
</script>    
 </body>
</html>
